#include <string.h>
#include "list.h"

int 
show_elements (void)
{
    int n;
    int len;

    len = 0;
    for (n = 0 ; n < nlist; n++)
	if (strlen (list[n].alias) > len)
	    len = strlen (list[n].alias);
    for (n = 0 ; n < nlist; n++)
	fprintf (stderr, "  %-*s (%s)\n", len, list[n].alias, list[n].text);

    return 0;
}
